package asteroids.expression;
import asteroids.model.programs.*;

public class Or extends BooleanOperator {

	public Or(Expression left, Expression right) {
		super(left,right);
	}
	
	@Override
	public boolean getValue(Program program) {
		this.updateArguments(program);
		return ((((BooleanExpression)this.arg1).getValue(program)) ||(((BooleanExpression)this.arg1).getValue(program)));
	}
}